home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 1.iso / pc / data / b026.dir / 00072.ls < prev    next >
Encoding:
Text File  |  1996-09-06  |  847 b   |  27 lines

  1. on mouseDown
  2.   global gCurrentNumber, gTotalNumofPages, gQuestion
  3.   if gCurrentNumber > 1 then
  4.     set the castNum of sprite 14 to cast "b017"
  5.     if pressButton(14) then
  6.       set gCurrentNumber to gCurrentNumber - 1
  7.       if gQuestion then
  8.         set myText to "par.q" & gCurrentNumber
  9.         set myPageNum to gCurrentNumber & "-" & gTotalNumofPages
  10.       else
  11.         set myText to "par.a" & gCurrentNumber
  12.         set myPageNum to gCurrentNumber & "-" & gTotalNumofPages
  13.       end if
  14.       pupSprites(11, 14, 1)
  15.       set the castNum of sprite 11 to cast myText
  16.       set the castNum of sprite 12 to cast myPageNum
  17.       set the castNum of sprite 13 to cast "b015"
  18.       if gCurrentNumber = 1 then
  19.         set the castNum of sprite 14 to cast "blankprevious"
  20.       end if
  21.       updateStage()
  22.     else
  23.       nothing()
  24.     end if
  25.   end if
  26. end
  27.